package Main.Latex;

import Main.FileUtils.FileUtil;

import java.util.List;
import java.util.PriorityQueue;

public class Main2 {
    public static void main(String[] args) {
//        List<String> list1 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\source");
//        List<String> list2 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\target");
//        List<String> list3 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\PBFN_stage1_test");
//        List<String> list4 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\STN_PBFN_stage1_32x24_test");
//        List<String> list5 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\RAFT_stage1_featureAlign_test");
//        List<String> list6 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\RAFT_stage1_test");
//        List<String> list7 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\RAFT_stage1_test_changeSecondSmooth");
//        List<String> list8 = FileUtil.filesToPathList("D:\\ResearchData\\HD\\RAFT_stage1_test_2");

        List<String> list1 = FileUtil.filesToPathList("C:\\Users\\ruanjie\\Desktop\\PF_result\\PFAFN_withcloth_cross");




        DefaultImageLatex defaultImageLatex = new DefaultImageLatex("C:\\Users\\ruanjie\\Desktop\\PF_result");
        defaultImageLatex.addFileList(list1);

        defaultImageLatex.setMiniPageWidth("0.8");

        defaultImageLatex.createFiles();

        PriorityQueue<int[]> priorityQueue = new PriorityQueue<int[]>((a,b)->{return a[1] - b[1];});
        int[] a = new int[]{1,3};
    }
}
